﻿using Amiable.SDK;

namespace AmiCheckin.Code.Util
{
    public static class TextUtil
    {
        public static string ReplaceWithQQandGroup(this string text,long qq,long group)
        {
            return text.Replace("[qq]", qq.ToString())
                .Replace("[group]", group.ToString())
                .Replace("[at]",AppService.Instance.DefaultCodeProvider.At(qq.ToString()));
        }
    }
}